package cn.b.sky.mes.cm.model;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 * <strong>Title : CalendarPatternItem.java<br></strong>
 * <strong>Package : cn.b.sky.mes.cm.model<br></strong>
 * <strong>Description : </strong>日历模式项<br> 
 * <strong>Create on : 2016-1-12 上午10:46:41<br></strong>
 * <p>
 * @author zhaoxin01<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人 | 修改日期 | 修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public class CalendarPatternItem {

  /**
   * 工厂编号:nvarchar2(20) <Primary Key>
   */
  private String siteCode;

  /**
   * 日历模式编号:nvarchar2(20) <Primary Key>
   */
  private String calendarPatternCode;

  /**
   * 序号:number(2) <Primary Key>
   */
  private Integer ordinal;

  /**
   * 天数:number(2)
   */
  private Integer days;

  /**
   * 日类型编号:nvarchar2(20)
   */
  private String dayTypeCode;

  private String dayTypeText;

  private Integer dayTypeLock;

  List<WorkDayType> types = new ArrayList<WorkDayType>();

  /**
   * 显示颜色:nvarchar2(10)
   */
  private String displayColor;

  public String getDisplayColor() {
    return displayColor;
  }

  public void setDisplayColor(String displayColor) {
    this.displayColor = displayColor;
  }

  public List<WorkDayType> getTypes() {
    return types;
  }

  public void setTypes(List<WorkDayType> types) {
    this.types = types;
  }

  public String getDayTypeText() {
    return dayTypeText;
  }

  public void setDayTypeText(String dayTypeText) {
    this.dayTypeText = dayTypeText;
  }

  public Integer getDayTypeLock() {
    return dayTypeLock;
  }

  public void setDayTypeLock(Integer dayTypeLock) {
    this.dayTypeLock = dayTypeLock;
  }

  public String getSiteCode() {
    return siteCode;
  }

  public void setSiteCode(String siteCode) {
    this.siteCode = siteCode;
  }

  public String getCalendarPatternCode() {
    return calendarPatternCode;
  }

  public void setCalendarPatternCode(String calendarPatternCode) {
    this.calendarPatternCode = calendarPatternCode;
  }

  public Integer getOrdinal() {
    return ordinal;
  }

  public void setOrdinal(Integer ordinal) {
    this.ordinal = ordinal;
  }

  public Integer getDays() {
    return days;
  }

  public void setDays(Integer days) {
    this.days = days;
  }

  public String getDayTypeCode() {
    return dayTypeCode;
  }

  public void setDayTypeCode(String dayTypeCode) {
    this.dayTypeCode = dayTypeCode;
  }

}
